package com.woniuxy01;

/**
 * @author 作者
 * @create 2025-09-04 9:53
 */
public class Test01 {
    public static void main(String[] args) {
        Student s1 = new Student("aaa",12);
        //写
//        s1.name="aaa";
//        s1.setName("zs");;
        //读
//        System.out.println(s1.name);
        System.out.println(s1.getName());
//        s1.age=10000;
//        System.out.println(s1.show());
        s1.setAge(10000);
        System.out.println(s1.getAge());

        Book book1 = new Book();
        book1.setName("aaa");
        System.out.println(book1.getName());
    }
}
